package com.yunsc.order.sevice;

import com.yunsc.order.dto.OrderExportDTO;
import com.yunsc.order.vo.OrderDetailVO;

import java.util.List;
import java.util.Map;

/**
 * @version: 1.0
 * @Author: adan
 * @description:
 * @date: 2024-05-29 22:33
 */
public interface ExportOrderService {


    /**
     * 导出订单
     * @param params 订单查询条件
     * @param storeId 店铺id
     */
    void exportOrder(OrderExportDTO params, Integer storeId);

    /**
     * 导出订单excel
     * @param dataList 订单数据
     * @param startDate 开始日期
     * @param endDate 结束日期
     * @param resolveFields 解析字段
     * @param storeId 店铺id
     */
    void exportOrderExcel(List<OrderDetailVO> dataList, String startDate, String endDate, Map<String, String[]> resolveFields, Integer storeId);


}
